package day002;

public class IfTest03 {
    public static void main(String[] args) {
        int cost01 = 7988 - 1500;
        double cost02 = 7988 * 0.8;

        if (cost01 > cost02) {
            System.out.println("以旧换新更划算！");
        } else {
            System.out.println("以旧换新不划算！");
        }
    }
}
